let item = document.getElementsByClassName('add-cart')[0];
item.onclick = (e) => {
  window.location.href = './cart.html'
}